package com.bhp.bencaoguoyi.article.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName Channel
 * @Description TODO
 * @Author 包海鹏
 * @Date 2020/6/18 12:28
 * @Version 1.0
 **/
@TableName("t_channel")
@Data
public class Channel {

    /**
     * 文章ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 频道名称
     */
    @TableField("name")
    private String name;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

}
